var uri = Components.classes["@mozilla.org/network/standard-url;1"].createInstance(Components.interfaces.nsIURI);
uri.spec = aURL;
var protocolSvc = Components.classes["@mozilla.org/uriloader/external-protocol-service;1"].getService(Components.interfaces.nsIExternalProtocolService);
protocolSvc.loadUrl(uri);
}
}
this.getAppName = function () {
var gExtensionManager = Components.classes["@mozilla.org/extensions/manager;1"].getService(Components.interfaces.nsIExtensionManager);
var imageZoomExtension = gExtensionManager.getItemForID(this.izAppID);
return imageZoomExtension.name.toString();
}
this.getAppVersion = function () {
var gExtensionManager = Components.classes["@mozilla.org/extensions/manager;1"].getService(Components.interfaces.nsIExtensionManager);
var imageZoomExtension = gExtensionManager.getItemForID(this.izAppID);
return imageZoomExtension.version.toString();
}
this.initAbout = function () {
var extName = this.getAppName();
var extVersion = this.getAppVersion();
document.title = extName + " " + extVersion;
var versionlabel = document.getElementById("versionlabel");